<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>__WEB_NAME__-首页</title>
	<meta name="renderer" content="webkit"> 
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 
	<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
	<meta name="apple-mobile-web-app-capable" content="yes">  
	<meta name="format-detection" content="telephone=no"> 
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Public/lib/layui/css/layui.css" media="all" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Public/lib/bootstrap/css/bootstrap.min.css" media="all" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/global.css" media="all" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/style/mains.css" media="all">
	<script type="text/javascript">
		var user = 0;
		var doctor = 0;
		var hospital = 0;
	</script>
</head>
<body>
<section class="larry-wrapper">
    <!-- overview -->
	<div class="row state-overview">
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol userblue"> <i class="iconpx-users"></i>
				</div>
				<div class="value">
					<a href="{:U('Admin/Member/index')}">
						<h1 id="count1">0</h1>
					</a>
					<p>用户总量</p>
				</div>
			</section>
		</div>
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol commred"> <i class="iconpx-user-add"></i>
				</div>
				<div class="value">
					<a href="{:U('Admin/Member/index')}">
						<h1 id="count2">0</h1>
					</a>
					<p>今日新增用户</p>
				</div>
			</section>
		</div>
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol articlegreen">
					<i class="iconpx-file-word-o"></i>
				</div>
				<div class="value">
					<a href="#">
						<h1 id="count3">0</h1>
					</a>
					<p>待审核医生</p>
				</div>
			</section>
		</div>
		<div class="col-lg-3 col-sm-6">
			<section class="panel">
				<div class="symbol rsswet">
					<i class="iconpx-check-circle"></i>
				</div>
				<div class="value">
					<a href="#">
						<h1 id="count4">0</h1>
					</a>
					<p>待审核医院</p>
				</div>
			</section>
		</div>
	</div>
	<!-- overview end -->
	<div class="row">
		<div class="col-lg-6">
			<section class="panel">
				<header class="panel-heading bm0">
					<span class='span-title'>系统概览</span>
					<span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
				</header>
				<div class="panel-body" >
					<table class="table table-hover personal-task">
                         <tbody>
                         	<tr>
                         		<td>
                         			<strong>版本信息</strong>： YQ_TP_v1.0.0

                         		</td>
                         		<td>

                         		</td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>网站域名</strong>：<php>echo $_SERVER['SERVER_NAME']</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>网站目录</strong>：<php>echo $_SERVER['DOCUMENT_ROOT']</php>
                                </td>
                                <td></td>
                         	</tr>
							<tr>
                         		<td>
                                <strong>服务器端信息</strong>： <php>echo $_SERVER ['SERVER_SOFTWARE'];</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>服务器IP</strong>：<php>echo gethostbyname($_SERVER['SERVER_NAME'])</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>服务器环境</strong>：<php>echo $_SERVER["SERVER_SOFTWARE"]</php>
                                </td>
                                <td></td>
                         	</tr>
							<tr>
                         		<td>
                                <strong>磁盘剩余空间</strong>：<php>echo round((disk_free_space(".")/(1024*1024)),2).'M'</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>数据库版本</strong>： <php>echo mysql_get_server_info();</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>PHP版本</strong>： <php> echo PHP_VERSION;</php>
                                </td>
                                <td></td>
                         	</tr>
                         	<tr>
                         		<td>
                                <strong>当前登录用户</strong>： <span class="current_user">{:session('user')['username']}</span>

                                </td>
                                <td></td>
                         	</tr>
                         </tbody>
					</table>
				</div>
			</section>
	        <!-- 网站信息统计｛SEO数据统计｝ -->
	        <section class="panel">
	            <header class="panel-heading bm0">
	            	<span class='span-title'>会员统计</span>
	            	<span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
	            </header>
	            <div class="panel-body laery-seo-box">
	            	<div class="larry-seo-stats" id="larry-seo-stats"></div>
	            </div>
	        </section>
		</div>
		<div class="col-lg-6">
          <!-- 系统公告 -->
				<section class="panel">
					 <header class="panel-heading bm0">
							<span class="span-title">系统公告</span>
							<span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
					  </header>
					  <div class="panel-body">
							<table class="table table-hover personal-task">
								<tbody><tr>
								  <td>
									<p class="larry_github" style="font-size: 14px;text-align: left;text-indent:28px;line-height:24px;">重庆友趣科技有限公司专注于移动互联网开发.通过为客户提供专业的移动互联网服务方案来提升客户品牌价值。我们以专业的设计，创新的理念，精湛的技术服务于众多知名企业，创造出了教育、医疗、政府、企业等多行业、多平台的优秀作品。我们专业、敬业、富有激情和创意，我们尊重过深入理解每一位客户的理念，并致力于运用我们的设计能力将其充分实现。我们追求一流的用户体验，坚信优秀的产品是优雅设计与精湛技术的完美结合。</p>
								  </td>
								</tr>
							</tbody></table>
					  </div>
             </section>
              <!-- 最新文章 -->
             <section class="panel">
                  <header class="panel-heading bm0">
                        <span class='span-title'>新浪新闻</span>
                        <span class="badge" style="background-color:#FF3333;"> hot </span>
                        <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
                  </header>
				  <script type="text/javascript" src="https://top.news.sina.com.cn/ws/GetTopDataList.php?top_type=day&top_cat=www_www_all_suda_suda&top_time=<?php echo date("Ymd")?>&top_show_num=100&top_order=DESC&js_var=all_1_data01">
				  //src的参数为排行系统生成的js链接(这里是每天，出国，取十条，顺序的取值，返回值是studyaboard_1_data是的取值链接)
				 </script>
                  <div class="panel-body">
                       <table class="table table-hover personal-task">
                             <tbody>
							<script type="text/javascript">
								var MyNewsList;
								var i;
								var j=0;
								var sCnt=0;
								var eCnt=0;
								var fCnt=0
								var MyNews = new Object();
								for (i in all_1_data01.data){ //studyaboard_1_data.data这个参数为链接返回值那个对象的名称
									if(j>10){
										break;
									}
									MyNewsList=all_1_data01.data[i];
									var month = MyNewsList['create_date'].split("-")[1];
									var day = MyNewsList['create_date'].split("-")[2];
									var hour= MyNewsList['create_time'].split(":")[0];
									var min= MyNewsList['create_time'].split(":")[1];
									MyNewsList['comment_url'] = MyNewsList['comment_url'].replace("http://comment4.news.sina.com.cn/comment/comment4.html", "http://comment5.news.sina.com.cn/comment/skin/default.html");
									var url=MyNewsList['url'];
									var sports = new RegExp("sports.sina.com.cn");
									var oly = new RegExp("2012.sina.com.cn");
									var ent = new RegExp("ent.sina.com.cn");
									var finance = new RegExp("finance.sina.com.cn");
									var news = new RegExp("news.sina.com.cn");
									var mil = new RegExp("mil.news.sina.com.cn");
									var society=new RegExp("news.sina.com.cn/s/");
									var bbs=new RegExp("/bbs/");
									if(sports.test(url) || oly.test(url)){
										if(sCnt>3){
											continue;
										}else{
											sCnt++;
										}
									}
									if(ent.test(url)){
										if(eCnt>1){
											continue;
										}else{
											eCnt++;
										}
									}
									if(finance.test(url)){
										if(fCnt>5){
											continue;
										}else{
											fCnt++;
										}
									}
									if(!sports.test(url) && !oly.test(url) && !ent.test(url) && !finance.test(url) && !news.test(url) && !mil.test(url)){
										continue;
									}
									if(society.test(url) || bbs.test(url)) {
										continue;
									}
									var str='<tr title="'+MyNewsList['title']+'">'+
												'<td>'+
												  '<a href="'+MyNewsList['url']+'" target="_blank">'+MyNewsList['title']+'</a>'+
												'</td>'+
												'<td>'+MyNewsList['media']+'</td>'+
												'<td class="col-md-2">'+month+"-"+day+" "+hour+":"+min+'</td>'+
											  '</tr>';
									document.write(str);
									j++
								}
							</script>
                             </tbody>
                       </table>
                  </div>
             </section>
		</div>
	</div>

</section>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Public/lib/layui/layui.js"></script>
<script type="text/javascript" src="__PUBLIC__/Public/lib/echarts/echarts.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/mains.js"></script>
</body>
</html>